@echo off


set a=0

:a

set /a a=%a%+1
echo Do it %a%

for %%i in (monpub\m*.dat) do (
  copy %%i "C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\monitors\"
)

sleep 1

goto a